function [ grey ] = imloadtogrey( imgfn,dbg )
%IMLOADTOGREY Summary of this function goes here
%  Detailed explanation goes here

if nargin < 2
    dbg=0;
end

im = imread(imgfn);
grey = rgb2y(im);

if dbg
    figure; image_grey(grey); 
end
